package cn.dnuihyy406.dnuifood_16110100406.service;

import java.util.List;

import cn.dnuihyy406.dnuifood_16110100406.bean.ResultBean;
import cn.dnuihyy406.dnuifood_16110100406.bean.ShopBean;
import cn.dnuihyy406.dnuifood_16110100406.bean.UserBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface UserService {

    @GET("userLogin.do")
    Call<UserBean> doLogin(@Query("username") String username,
                           @Query("userpass") String userpass);

    @GET("userRegister.do")
    Call<ResultBean> doRegister(@Query("username") String username,
                                @Query("userpass") String userpass,
                                @Query("mobilenum") String mobilenum,
                                @Query("address") String address,
                                @Query("comment") String comment);
}